package com.huike.stock_analysis.entity;

import java.util.Arrays;
import java.util.Date;

/**
 * 
 * @author mzLEI
 * @date 2020年7月10日
 */
/*
 * 技术指标信息
 */
public class TechniqueInfo {
	//private Stock stock;
	//日期
	private Date date;
	//日涨跌
	private double change;
	//均值
	private double[] ma;

	//EMA
	private double[] ema;
	//布林
	private double[] boll;
	//MACD
	private double macd;
	//rsv
	private double rsv;
	//rsi
	private double rsi;
	//kdj
	private double[] kdj;
	//5日涨跌幅
	private double change5;
	//dif
	private double dif;
	//成交量
	private double cjl;
	//历史波动率
	private double historyRatio;
	//行业平均历史波动率
	private double avrHistoryRatio;
	
	public TechniqueInfo() {
		super();
	}

	public double getChange() {
		return change;
	}

	public void setChange(double change) {
		this.change = change;
	}

	public double[] getMa() {
		return ma;
	}

	public void setMa(double[] ma) {
		this.ma = ma;
	}

	public double[] getema() {
		return ema;
	}

	public void setema(double[] ema) {
		this.ema = ema;
	}

	public double[] getBoll() {
		return boll;
	}

	public void setBoll(double[] boll) {
		this.boll = boll;
	}

	public double getMacd() {
		return macd;
	}

	public void setMacd(double macd) {
		this.macd = macd;
	}

	public double getRsv() {
		return rsv;
	}

	public void setRsv(double rsv) {
		this.rsv = rsv;
	}

	public double getRsi() {
		return rsi;
	}

	public void setRsi(double rsi) {
		this.rsi = rsi;
	}

	public double[] getKdj() {
		return kdj;
	}

	public void setKdj(double[] kdj) {
		this.kdj = kdj;
	}

	public double getChange5() {
		return change5;
	}

	public void setChange5(double change5) {
		this.change5 = change5;
	}

	@Override
	public String toString() {
		return "TechniqueInfo [date=" + date + ", change=" + change + ", ma=" + Arrays.toString(ma) + ", ema="
				+ Arrays.toString(ema) + ", boll=" + Arrays.toString(boll) + ", macd=" + macd + ", rsv=" + rsv
				+ ", rsi=" + rsi + ", kdj=" + Arrays.toString(kdj) + ", change5=" + change5 + "]";
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public double getDif() {
		return dif;
	}

	public void setDif(double dif) {
		this.dif = dif;
	}

	public double getCjl() {
		return cjl;
	}

	public void setCjl(double cjl) {
		this.cjl = cjl;
	}

	public double getHistoryRatio() {
		return historyRatio;
	}

	public void setHistoryRatio(double historyRatio) {
		this.historyRatio = historyRatio;
	}

	public double getAvrHistoryRatio() {
		return avrHistoryRatio;
	}

	public void setAvrHistoryRatio(double avrHistoryRatio) {
		this.avrHistoryRatio = avrHistoryRatio;
	}
	
	
	
	
	
}
